﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace HotelManagerService.Interface
{
     [ServiceContract]
    interface ILoaiKhach
    {
        [OperationContract]
        IEnumerable<LOAIKHACH> GetByAllLoaiKhach();

        [OperationContract]
        String InsertLoaiKhach(LOAIKHACH data);

        [OperationContract]
        String UpdateLoaiKhach(LOAIKHACH data);

        [OperationContract]
        String DeleteLoaiKhach(string id);

        [OperationContract]
        IEnumerable<LOAIKHACH> GetByTopLoaiKhach(string _top, string _where, string _order);

        [OperationContract]
        String ApproveLoaiKhach(LOAIKHACH data);
    }
}
